package com.carsystem.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.carsystem.entity.Car;
import com.carsystem.request.CarFrontRentRequestVo;
import com.carsystem.utils.PageHandler;
import com.carsystem.utils.PageResult;
import com.carsystem.utils.QueryPageBean;
import com.carsystem.utils.Result;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author ykl
 * @since 2021-12-04
 */
public interface ICarService extends IService<Car> {

    Result findAllCar();

    PageResult findList(QueryPageBean queryPageBean);

    Result addCar(Car car);

    Result updateCar(Car car);

    Result deleteCar(int carId);

    PageHandler selectAllCar(CarFrontRentRequestVo carFrontRentRequestVo);
}
